﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CreateOrEdit.ascx.cs" Inherits="CMS.Controls.AdminMenu.CreateOrEdit" %>

<fieldset>
    <div class="widget first">
        <div class="head"><h5 class="iList"><asp:Literal ID="ltTitle" runat="server" /></h5></div>            
        <div class="rowElem nobg">
            <label>Tên chức năng</label>
            <div class="formRight"><asp:TextBox ID="txtName" CssClass="validate[required]" runat="server"/></div>
            <div class="fix"></div>
        </div>

        <div class="rowElem">
            <label>Chức năng cha</label>
            <div class="formRight"><asp:DropDownList ID="ddlMenu" Width="220" DataValueField="AdminMenuId" DataTextField="Name" runat="server"/></div>
            <div class="fix"></div>
        </div>

        <div class="rowElem">
            <label>Độ ưu tiên</label>
            <div class="formRight onlyNums"><asp:TextBox ID="txtPriority" Width="100" CssClass="validate[required]" runat="server"/></div>
            <div class="fix"></div>
        </div>            

        <div class="rowElem">
            <label>Đường dẫn</label>
            <div class="formRight"><asp:TextBox ID="txtCtrlSource" CssClass="validate[required]" runat="server"/></div>
            <div class="fix"></div>
        </div>

        <div class="rowElem">
            <label>Biểu tượng</label>
            <div class="formRight"><asp:TextBox ID="txtCtrlKey" runat="server"/></div>
            <div class="fix"></div>
        </div>            

        <div class="rowElem">
            <label>Tham số</label>
            <div class="formRight"><asp:TextBox ID="txtParams" runat="server"/></div>
            <div class="fix"></div>
        </div>

        <div class="rowElem">
            <label>Trạng thái</label>
            <div class="formRight">
                <asp:DropDownList ID="ddlStatus" Width="220"  runat="server">
                    <asp:ListItem Text="Hiển thị" Value="1"/>
                    <asp:ListItem Text="Khi chạy mới hiển thị" Value="2"/>
                </asp:DropDownList>
            </div>
            <div class="fix"></div>
        </div>
                        
        <div class="body">
            <asp:Button ID="btnSave" Text="Lưu lại" OnClick="BtnSave" CssClass="seaBtn floatright mb22" runat="server" />        
        </div>        
        <div class="fix"></div>
    </div>
</fieldset>